Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id MAA22351
for <mcox@access.digex.net>; Wed, 9 Apr 1997 12:33:02 -0400 (EDT)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id KAA14792
for amos-out; Wed, 9 Apr 1997 10:49:21 -0400 (EDT)
Received: from mail3.access.digex.net (mail3.access.digex.net [205.197.247.4])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id KAA14789
for <amos-list@svcs1.digex.net>; Wed, 9 Apr 1997 10:49:20 -0400 (EDT)
Received: from golden.net (golden.golden.net [199.166.210.2])
by mail3.access.digex.net (8.8.5/8.8.5) with ESMTP id KAA11941
for <amos-list@access.digex.net>; Wed, 9 Apr 1997 10:49:19 -0400 (EDT)
Received: from golden.net (Giark@cisco2-96.cas.golden.net [207.6.168.96]) by golden.net (8.8.2/8.6.12) with SMTP id KAA25036; Wed, 9 Apr 1997 10:49:11 -0400 (EDT)
From: "Mr. Giark To You" <joehick@golden.net>
To: Hakan Venderlof <grok@karkis.canit.se>,
AMOS List <amos-list@access.digex.net>
Date: Wed, 09 Apr 1997 10:48:23 -0500
Message-ID: <yam7038.1185.3737280@pop.golden.net>
In-Reply-To: <334a9fe4@karkis.canit.se>
X-Mailer: YAM 1.3.3 - Amiga Mailer by Marcel Beck
Subject: Re: serial
MIME-Version: 1.0
Content-Type: text/plain
Status: RO
X-Status:
On 08-Apr-97, Hakan Venderlof wrote:
>Is there some way an amosprogram can detect if
>other programs are using the serial port?
This falls in line with a lot of other things as well. First, use Request Off
to turn off the AMOS requesters. Then use Trap Serial Open
Channel,Port,Shared,XMode,7Wires : If Errtrap Then <serial port unavailable>
Use similar code for opening files, etc. and you will put more control in your
program's hands as well as hiding the AMOSness of the program.